<div class="main">
		<div id="media_detail">
			<div class="crumbs">
				您当前的位置是：<a href="../../">首页</a> &gt; <a href="./">广告牌</a> &gt; <a href="./media_search?media_type=<?php echo $media_detail['media_type']?>"><?php echo get_media_type($media_detail['media_type'])?></a> &gt; <b><?php echo $media_detail['location']?></b>
			</div>
			<div class="media_detail_nav">
				<ul>
					<li class="on"><a href="#m_jccs">基础参数</a></li>
					<li><a href="#m_xxzp">详细照片</a></li>
					<li><a href="#m_spxx">视频信息</a></li>
					<li><a href="#m_zhpg">综合评估</a></li>
					<li><a href="#m_fbls">发布历史</a></li>
					<li><a href="#m_gysxx">供应商信息</a></li>
					<li><a href="#m_mtdt">媒体地图</a></li>
				</ul>
			</div>
			<div class="media_title">
				<div class="left_title"><h1>
				【<?php echo $media_detail['location']?> 】
				</h1>
				&nbsp;&nbsp;更新时间：<?php echo substr($media_detail['modify_time'], 0,10)?> 
				</div>
				<div class="right_share">
					<div class="share_to">
						分享本户外资源到：
					</div>
					<!-- JiaThis Button BEGIN -->
					<div class="jiathis_style">
						
						<a class="jiathis_button_qzone"></a>
						<a class="jiathis_button_tsina"></a>
						<a class="jiathis_button_tqq"></a>
						<a class="jiathis_button_weixin"></a>
						<a class="jiathis_button_renren"></a>
						<a class="jiathis_button_xiaoyou"></a>
						<a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
						
					</div>
				
				</div>
			</div>
			<div class="banner">
				<img alt="" src="<?php echo $this->config->item('ssi_pic_url').$media_pic_list[0]['pic']?>">
				<div class="content">
					<div class="rb"><a href="#">下载</a> </div>
					<div class="rb"><a href="#">收藏</a> </div>
					<div class="selected"><a href="#">对比</a> </div>
				</div>
			</div>
			<div class="detail_info">
				<div class="info_l">
					<div class="info_list">
						<div class="list_name">
							<div id="m_jccs">
								基础<br />
								参数
							</div>
						</div>
						<div class="list_content">
							<table class="info">
								<tr>
									<td class="title" ><div>媒体编码</div></td>
									<td><?php echo $media_detail['media_id']?></td>
									<td class="title" ><div>转角情况</div></td>
									<td><?php echo $media_detail['corner_case_name']?></td>
								</tr>
								<tr>
									<td class="title" ><div>媒体类型</div></td>
									<td><?php echo get_media_type($media_detail['media_type'])?></td>
									<td class="title" ><div>照明情况</div></td>
									<td><?php echo ($media_detail['illumination']==1?"有":"无")?></td>
								</tr>
								<tr>
									<td class="title" ><div>区域归属</div></td>
									<td><?php echo $media_detail['province_name']?><?php echo " - ";echo $media_detail['city_name']!=""?$media_detail['city_name']:"";?><?php echo " - ";echo $media_detail['region_name']!=""?$media_detail['region_name']:"";?>
									 </td>
									<td class="title" ><div>媒体面积</div></td>
									<td><?php echo $media_detail['specification']?> 平方米</td>
								</tr>
								<tr>
									<td class="title" ><div>媒体位置</div></td>
									<td><?php echo $media_detail['location']?></td>
									<td class="title" ><div>媒体规格</div></td>
									<td><?php echo format_media_specification($media_detail['specification_width'],$media_detail['specification_height'])?></td>
								</tr>
								<tr>
									<td class="title" ><div>点位属性</div></td>
									<td><?php echo get_env_name($env_info['type'])?></td>
									<td class="title" ><div>点位隶属</div></td>
									<td><?php echo $env_info['name']?></td>
								</tr>
								<tr>
									<td class="title" ><div>媒体形式</div></td>
									<td><?php echo $media_detail['media_type_name']?></td>
									<td class="title" ><div>人车流量</div></td>
									<td><?php echo get_flow_name($media_detail['flow'])?></td>
								</tr>
								<tr>
									<td class="title" ><div>制作工艺</div></td>
									<td colspan="3"><?php echo $media_detail['crafts_name']?></td>
								</tr>
							</table>
						</div>
					</div>
					<div class="info_list">
						<div class="list_name">
							<div id="m_xxzp">详细<br />照片</div>
						</div>
						<div class="list_content">
							<div id="full-width-slider" class="royalSlider heroSlider rsMinW">
							  	<?php if ($media_pic_list) {
							  		foreach ($media_pic_list as $pic){?>
							  	<div class="rsContent">
								    <img class="rsImg" src="<?php echo $this->config->item('ssi_pic_url').$pic['pic']?>"    />
								</div>		
							  	<?php }
							  	}?>
							  	
							</div>
						</div>
					</div>
					<div class="info_list">
						<div class="list_name">
							<div  id="m_spxx">视频<br />信息</div>
						</div>
						<div class="list_content">
						暂无视频
						</div>
					</div>
					<div class="info_list">
						<div class="list_name">
							<div  id="m_zhpg">综合<br />评估</div>
						</div>
						<div class="list_content">
							<div class="media_analysis">
								<ul>
									<li class="on">
										环境属性分析
									</li>
									<li >
										自身属性分析
									</li>
								</ul>
							</div>
							<div class="tbl_common">
								<?php echo format_env_detail($env_info['type'],$env_info['detail']);?>
							</div>
						</div>
					</div>
					<div class="info_list">
						<div class="list_name">
							<div  id="m_fbls">发布<br />历史</div>
						</div>
						<div class="list_content">
							<div class="tbl_common">
								<table>
									<thead>
										<tr>
											<td width="300px">相关行业</td>
											<td width="120px">发布品牌</td>
											<td>发布产品</td>
										</tr>
									</thead>
									<tbody>
									<?php if ($media_monitor) {
										 foreach ($media_monitor as $mm){?>
										<tr>
											<td class="center"><?php echo $mm['industry_name']?>
											<?php echo $mm['industry_category_name']!=""?industry_category_name:"";?>
											</td>
											<td class="center">
												<?php echo $mm['brand_name']?>
											</td>
											<td class="center">
												<?php echo $mm['proudct_name']?>
											</td>
										</tr> 	
									<?php }
									}else{?>
									<tr>
											<td class="center">暂无数据	</td>
											<td class="center">
											</td>
											<td class="center">
											</td>
										</tr> 
									<?php }?>	
									</tbody>
								</table>
							</div>
						</div>
					</div>
					<div class="info_list">
						<div class="list_name">
							<div  id="m_gysxx">供应商<br />信息</div>
						</div>
						<div class="list_content">
							<div class="tbl_common">
								<table>
									<thead>
										<tr>
											<td width="150px">所属公司</td>
											<td width="200px">公司地址</td>
											<td width="80px">联系人</td>
											<td width="80px">联系人职务</td>
											<td>联系人电话</td>
										</tr>
									</thead>
									<tbody>
									<?php if ($vendor_info!=null) {?>
										<tr>
											<td class="left"><?php echo $vendor_info['company_name'] ?></td>
											<td ><?php echo $vendor_info['address'] ?></td>
											<td class="center"><?php echo $vendor_info['contactsname0'] ?></td>
											<td class="center"><?php echo $vendor_info['contactspost0'] ?></td>
											<td class="center"><?php echo $vendor_info['contactsphone0'] ?></td>
										</tr>
									<?php }else{?>
										<tr>
											<td >暂无数据</td>
											<td></td>
											<td></td>
											<td></td>
											<td></td>
										</tr>
									<?php }?>
									</tbody>
								</table>
							</div>
						</div>
					</div>
					<div class="info_list">
						<div class="list_name">
							<div  id="m_mtdt">媒体<br />地图</div>
						</div>
						
						<script type="text/javascript"	src="http://api.map.baidu.com/api?v=1.5&ak=C17fc65597a3939334b09677dcba39fd"></script>
						<script type="text/javascript"	src="http://api.map.baidu.com/library/DistanceTool/1.2/src/DistanceTool_min.js"></script>
						<div class="list_content">
							<div id="map" style="height: 400px;"></div>
							<script type="text/javascript">
								function buildMarker(map, x, y) {
									var newmarker = new BMap.Marker(new BMap.Point(x, y));
									map.addOverlay(newmarker);
									newmarker.enableDragging(true);
									newmarker.enableMassClear();
									return newmarker;
								}
								var map;
								$().ready(function() {
									map = new BMap.Map("map");
									map.addControl(new BMap.NavigationControl());//加载放大缩小插件
									var longitude = "<?php echo $media_detail['longitude']?>";
									var latitude = "<?php echo $media_detail['latitude']?>";
									if (longitude) {
										 map.centerAndZoom(new BMap.Point(longitude, latitude), 13);
										 marker = buildMarker(map, longitude, latitude);
									} else {
										 map.centerAndZoom("武汉"); 
									}
								});
							</script>
						</div>
					</div>
				</div>
				<div class="info_r">
					<div class="periphery">
						<div class="title">
							周边媒体
<!-- 							<span>更多&gt;&gt;</span> -->
						</div>
						<ul>
							<?php if ($nearby_media_list!=null) {
								foreach ($nearby_media_list as $media){?>
								<li>
								<a href="?id=<?php echo $media['media_id']?>" target="_blank" title="<?php echo $media['location']?>"><img src="<?php echo $this->config->item('ssi_pic_url').$media['pic']?>"/></a>
									
									<div class="location"><a href="?id=<?php echo $media['media_id']?>" target="_blank" title="<?php echo $media['location']?>"><?php echo $media['location']?></a>
									</div>
								</li>
							<?php }
							}?>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
		<script type="text/javascript" src="http://v3.jiathis.com/code/jia.js?uid=1396246661207584" charset="utf-8"></script>
					<!-- JiaThis Button END -->